.ai-assistant {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-left: 1px solid #f0f0f0;
}

.ai-assistant .messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.ai-assistant .message {
  margin: 8px 0;
  padding: 8px;
  border-radius: 4px;
}

.ai-assistant .message.user {
  background-color: #e6f7ff;
}

.ai-assistant .message.ai {
  background-color: #f6f6f6;
}

.ai-assistant .message-content {
  width: 100%;
}

.ai-assistant .message-content .content {
  margin: 8px 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-assistant .message-content .timestamp {
  font-size: 12px;
  color: #999;
  text-align: right;
}

.ai-assistant .input-area {
  padding: 16px;
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-assistant .input-area .ant-btn {
  align-self: flex-end;
} 